#include "pushbtn1.h"
#include "ui_pushbtn1.h"

Pushbtn1::Pushbtn1(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::Pushbtn1)
{
    ui->setupUi(this);
}

Pushbtn1::~Pushbtn1()
{
    delete ui;
}

void Pushbtn1::on_pushButton_clicked()
{
    this->parentWidget()->show();
    this->close();
}

